package com.tyqx.mapper;

import com.tyqx.bean.model.RatesInfo;
import com.tyqx.bean.model.UserHashrateInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface RatesInfoMapper {

    public RatesInfo selectRatesInfoByDate(String rateDate);

    public Integer insertRatesInfo(RatesInfo ratesInfo);

    public Integer updateRatesInfoByDate(@Param("rates")Double rates,@Param("rateDate")String rateDate);

    public String selectRatesInfoMaxRateDate();

}
